
/**
 * 循环显示表格
 */
Handlebars.registerHelper("tablereport", function(_data,fn) {
	var html = "";
	for(var i=0;i<_data.length;){
	    html += '<tr class="rpt-item">';
		for(var j=0;j<2;j++){
			if(i<_data.length){
		        html += '<td><span class="rpt-icon"></span></td><td><a href="'+_data[i].funcUrl+'" class="rpt-url" title="'+_data[i].funcName+'">'+_data[i].funcName+'</a></td>';
		        i++;
	        }else{
               html += "<td>&nbsp;</td><td>&nbsp;</td>";
            }
		}
		html += '</tr>';
	}
	return new Handlebars.SafeString(html);
});